@echo off
cd %~dp0
dump_syms.exe ./TestCrashPad.pdb > ./TestCrashPad.sym

set crashName=TestCrashPad
set /p content=<%crashName%.sym
echo %content%
for /f "tokens=4,5" %%i in ('echo %content%') do (
mkdir symbols\%%j\%%i
move ".\\%crashName%.sym" "symbols\%%j\%%i"
)

minidump_stackwalk.exe -s 9e1b2053-8a49-47be-b278-475bb2e1268e.dmp ./symbols >%crashName%.txt


pause